﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ThanhTu.GNC.Media.KQXS.DataAccess.DAL;

namespace GNCMedia.KQXS.UserControls
{
    public partial class ResultLotteryByProvince : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string choose = Request.QueryString["ID"];
                ResultLotteryDAL resultLotteryDal = new ResultLotteryDAL();
                int rowCount = 0;
                Repeater.DataSource = resultLotteryDal.SelectAll_KQ_Province_User(choose, 1, 20, ref rowCount); ;
                Repeater.DataBind();

            }
        }
    }
}